﻿<%@ Page Language="C#" MasterPageFile="~/admin/adminMasterPage.master" AutoEventWireup="true" CodeFile="qc.aspx.cs" Inherits="admin_others_qc" Title="无标题页" %>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
    <asp:FileUpload ID="imageFileUpload" runat="server" />
    <asp:Button ID="uploadButton" runat="server" Text="上传文件" 
        onclick="uploadButton_Click" />
    <asp:Repeater ID="Repeater1" runat="server" 
    DataSourceID="ObjectDataSource1" onitemcommand="Repeater1_ItemCommand">
        <HeaderTemplate>
            <div class="qualityControl">
        </HeaderTemplate>
        <ItemTemplate>
            <asp:Image ID="Image1" runat="server" ImageUrl='<%#"~/qc/"+Eval("imageUrl")%>'/>
            <asp:Button ID="deleteButton" runat="server" Text="删除"  CommandName="deleteImage" CommandArgument='<%#Eval("qid") %>'/>
        </ItemTemplate>
        <FooterTemplate>
            </div>            
        </FooterTemplate>
    </asp:Repeater>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        SelectMethod="getQualityControl" TypeName="DB"></asp:ObjectDataSource>
</asp:Content>

